<template>
  <div>
    <svg :style="{ width, height }">
      <use :xlink:href="prefix + name" :fill="color"></use>
    </svg>
    123
  </div>
</template>
<script setup lang="ts">
defineProps({
  prefix: { type: String, default: '#icon-' },
  name: String,
  color: { type: String, default: 'black' },
  width: { type: String, default: '20' },
  height: { type: String, default: '20' },
})
</script>
<style></style>
